﻿@model IEnumerable<string>

@{
    ViewBag.Title = "Seznam";
}

@if(!string.IsNullOrEmpty(ViewBag.Success))
{
    <p style="background-color:green">uloženo</p>
}

@if(!string.IsNullOrEmpty(ViewBag.Failure))
{
    <p style="background-color:red">neuloženo</p>
}

<ul>
    @foreach (var quote in Model)
    {
        <li>@quote</li>
    }
</ul>

<p>
    @Html.ActionLink("Přidat", "Add")
</p>



